import { mapGetters } from 'vuex'
export default {
  methods: {
    computed: {
      ...mapGetters(['roles'])
    },
    checkPermission(point) {
      return this.roles?.points?.includes(point)
    }
  }
}
